import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);
//引入axios并挂载到vue原型上
import api from '@/api/user'
Vue.prototype.$htp=api

// import ZkTable from 'vue-table-with-tree-grid'
// Vue.component(ZkTable.name, ZkTable);

import axios from 'axios'
Vue.prototype.$http = axios;

Vue.config.productionTip = false


// 富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor);

Vue.prototype.bus = new Vue();



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
